<?php
function print_list($list)
{
    echo "[".implode(",",$list)."]\r\n";
}
